<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var arr = ['tom','jack'];
    console.log(arr);
    var s = arr[0];
    console.log(arr[0]);
</script>
</body>
</html>